class CreateProblems < ActiveRecord::Migration
  def self.up
    create_table :problems do |t|
      t.column :real_identifier, :string, :null => false
      t.column :difficulty, :integer
      t.references :source
      t.timestamps
    end
  end

  def self.down
    drop_table :problems
  end
end
